package objects;

public class Instructor {
  
	private Integer id;
    private String name;
    private Integer school_id;

	public Instructor() {
		id = 0;
    	name = "";
		school_id=0;
	}
	
    public Instructor(Integer newid) {
        id = newid;
        name = "";
        school_id=0;
    }

	public void setID(Integer newid) {
		id = newid;
	}

	public void setName(String newname) {
		name = newname;
	}

    public void setSchoolID(Integer newschoolid) {
        school_id = newschoolid;
    }

	public Integer getID() {
		return id;
	}
	
	public String getName() {
		return name;
	}

	public Integer getSchoolID() {
		return school_id;
	}

	public void display() {
        System.out.println("Instructo ID " + id);
        System.out.println("Name: " + name);
        System.out.println("School id: " + school_id);
	}
}
